﻿
if col_length('Coupon', 'CouponTypeId') is null
begin
 	alter table coupon add CouponTypeId int null
end
go